package com.scm.service;

import com.scm.dao.PoItemMapper;
import com.scm.pojo.PoItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName PoItemService
 * @Description TODO
 * @Author Xu
 * @Date 2021/7/13 10:05
 * @Version 1.0
 **/
@Service
public class PoItemService implements PoItemMapper{
    @Autowired
    private PoItemMapper poItemMapper;


    @Override
    public List<PoItem> getPoItem(String poID) {
        return poItemMapper.getPoItem(poID);
    }

    @Override
    public void deletePoItem(String poID) {
        poItemMapper.deletePoItem(poID);
    }

    @Override
    public String getPoNum(String productCode) {
        return poItemMapper.getPoNum(productCode);
    }

    @Override
    public List<String> getProductCode(String poID) {
        return poItemMapper.getProductCode(poID);
    }


}
